package org.caster.client;

import com.jme3.material.Material;
import com.jme3.scene.Node;
import com.jme3.scene.Spatial;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;

/**
 * Created by IntelliJ IDEA.
 * User: demoth
 * Date: 8/12/12
 * Time: 11:06 PM
 */
public class WorldModel {
    public boolean isLoggedIn = false;
    public String nextScreen = "";
    public List<String> creatures = new ArrayList<>();

    public Node terrainNode = new Node("terrain");
    // like floor or wall. Should be populated at the start of the GameEngine thread
    public Map<String, Spatial> tileTypes;
    public Map<String, Material> materials;

    public Queue<JSONObject> environmentUpdates = new ConcurrentLinkedQueue<>();
}
